package com.ruoyi.activity.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 抽奖对象 tb_lottery_activity
 *
 * @author ruoyi
 * @date 2025-07-29
 */
public class TbLotteryActivity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Integer activityId;

    /**
     * 活动ID
     */
    @Excel(name = "活动ID")
    private String lotteryType;

    /**
     * 抽奖类型
     */
    @Excel(name = "抽奖类型")
    private String activityName;

    /**
     * 抽奖时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "抽奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String operator;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateTime;

    /**
     * 类型
     */
    @Excel(name = "类型")
    private String status;

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setLotteryType(String lotteryType) {
        this.lotteryType = lotteryType;
    }

    public String getLotteryType() {
        return lotteryType;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("activityId", getActivityId())
                .append("lotteryType", getLotteryType())
                .append("activityName", getActivityName())
                .append("startTime", getStartTime())
                .append("operator", getOperator())
                .append("operateTime", getOperateTime())
                .append("status", getStatus())
                .toString();
    }
}
